<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>BADJOGRAPHY :: <?=$title?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
/*
 * <joebenick.badiola@badjography.com> 20090716: added zeratool (www.zeratool.com)
 * 					helper to include (for now) all js files located at system/helpers/mypage_helper.php
 */
echo include_css('style.css');
echo include_css('jquery.tweet.css');
echo include_js('dojo-0.4.3-ajax/dojo.js');
echo include_js('sos/widget/ImageGallery.js');
echo include_js('jquery/jquery-1.3.2.min.js');
echo include_js('jquery/jquery.tweet.js');
/*
 * end
 */
?>

<script type='text/javascript' language="javascript">
    jQuery(document).ready(function($) {
        $(".tweet").tweet({
            username: "jobad",
            join_text: "auto",
            avatar_size: 32,
            count: 4,
            auto_join_text_default: "i said,",
            auto_join_text_ed: "i",
            auto_join_text_ing: " i am",
            auto_join_text_reply: "i replied to",
            auto_join_text_url: "i am checking out",
            loading_text: "loading tweets..."
        });
    });
</script> 
</head>

<body>

	<div id="header">
		<?=$this->load->view('header');?>
	</div>
	
	<div id="content">
		<?=$this->load->view('menu');?>
		 
		<div class="left">
        	<?=img(array('src'=>'images/top.gif', 'width'=>'314', 'height'=>'3'));?>
                        
            <?php 
            	foreach ($photos as $photo):
            ?>
            	<a href="<?=$photo['url']?>"><img src="<?=$photo['image_url']?>" width="308" height="433" class="big" /></a>
            <?php endforeach; ?>
                        
            <?=img(array('src'=>'images/middle.gif', 'width'=>'314', 'height'=>'9'));?>
            <?=$this->load->view('poweredby');?>
            <?=img(array('src'=>'images/bot.gif', 'width'=>'314', 'height'=>'3'));?>
        </div>	
		
		<div>
			<div class="item">
				<?=img(array('src'=>'images/title1.jpg', 'width'=>'159', 'height'=>'21'));?><br />
				<img src="http://farm3.static.flickr.com/2162/buddyicons/22525955@N05.jpg?1235286923#22525955@N05" width="48" height="48" class="pic"><br />
				<?=$welcomemsg?><br />
			</div>
			
			<?=img(array('src'=>'images/title2.gif', 'width'=>'122', 'height'=>'16', 'class'=>'title'));?><br />
			<div class="item">				
				<div class="tweet"></div>
			</div>
			
			<?=img(array('src'=>'images/title3.gif', 'width'=>'128', 'height'=>'17', 'class'=>'title'));?><br />
			<div class="item">
			    <a href="http://code.google.com/p/badjography/">Badjography :: Google Code VC</a><br>
			    <a href="http://code.google.com/p/mhr/">MHR :: Google Code VC</a><br>
			    <a href="http://talambuhay.net/">Sikat ang Pinoy</a><br>
			    <a href="http://zeratool.com/blog/">Zera Tool :: FROST: Free and Open Source Technologies</a><br>
				<a href="http://jhellai.talk4fun.net/">Jhellai :: When Passion Speaks</a><br>
				<a href="http://z3llll.darkfolio.com/">Z3LL :: Z3LL Photography: Online Portfolio</a><br>
				<a href="http://bluejeanjunkies.spaces.live.com/">Jon :: Ah Eh.. But Wait! Let Me Explain!</a><br>
			</div>
		</div>
	</div>
	<?=$this->load->view('footer');?>
</body>
</html>
